<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>重点组织地理信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" type="text/css" href="/static/base/common/css/sapar.css"/>
    <link rel="stylesheet" type="text/css" href="/static/webjars/layui/css/layui.css" media="all"/>

    <style type="text/css">
        html,body{margin:0;padding:0;overflow: hidden;}
        .iw_poi_title {color:#CC5522;font-size:14px;font-weight:bold;overflow:hidden;padding-right:13px;white-space:nowrap}
        .iw_poi_content {font:12px arial,sans-serif;overflow:visible;padding-top:4px;white-space:-moz-pre-wrap;word-wrap:break-word}
        .anchorBL{
            display:none;
        }

    </style>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=${AK}"></script>
</head>
<body>
<div class="layui-card-body" style="position:relative;padding:0px;">
    <!--百度地图容器-->
    <div style="width:100%;height:650px;border:#ccc solid 1px;" id="dituContent"></div>


</div>
</body>
<script src="/static/webjars/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/webjars/echarts/echarts.js"></script>
<script type="text/javascript" src="/static/js/supervise/bmap.min.js"></script>
<script type="text/javascript" src="/static/base/common/js/sapar.js"></script>
<script type="text/javascript" src="/static/js/supervise/imp/pop-windows.js"></script>
<script type="text/javascript" src="/static/js/supervise/require.js"></script>
<script type="text/javascript" src="/static/js/supervise/imp/imp_organization_map.js"></script>
<script >

    //添加或删除点击事件


    //加载日期范围
    layui.use('laydate', function() {
        var laydate = layui.laydate;
        laydate.render({
            elem: '#timeArea'
            , range: true
        });
    });

    //监听工具条
    layui.use('table', function() {
        var table = layui.table;

        //监听工具条
        table.on('tool(impPerson)', function(obj){
            var data = obj.data;
            if(obj.event === 'detail'){
                layer.open({
                    type: 2,
                    title:'',
                    closeBtn:0,
                    shadeClose:true,
                    offset:['100px','500px'],
                    area:['800px','500px'],
                    content: ['/supervise/imp_person_detail']
                });
            } else if(obj.event === 'del'){
                layer.confirm('你确定删除此重点人', {icon: 3, title:'提示',aim:5, offset:['300px','800px']}, function(index){
                    obj.del();
                    layer.close(index);
                });
            } else if(obj.event === 'edit'){
                layer.alert('编辑行:'+ JSON.stringify(data));
            }
        });
        table.reload('impInfo', {
            where: {
                a: 'xxx'
            }
            , page: {
                curr: 1 //重新从第 1 页开始
            }
        });
    });
</script>
</html>